package cn.edu.zut.cs.pojo;

/**
 * @Description:浏览器发送给服务器的websocket数据
 */
public class Message {
    private String toName;
    private String img;
    private String message;

    public String getImg() {
        return img;
    }

    @Override
    public String toString() {
        return "Message{" +
                "toName='" + toName + '\'' +
                ", img='" + img + '\'' +
                ", message='" + message + '\'' +
                '}';
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getToName() {
        return toName;
    }

    public void setToName(String toName) {
        this.toName = toName;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
